[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_TOMST020 SECONDARY_LOGO_TOMST020 "SW20Parts\SECONDARY_LOGO_TOMST020.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_TOMS CARSELECT_MANUFACTURER_TOMS "SW20Parts\CARSELECT_MANUFACTURER_TOMS.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "SW20Parts\TuningIcons"

move_file override relative absolute SW20Parts\TOMST020.ini scripts\UnlimiterData\TOMST020.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions TOMST020
do
remove_collection GLOBAL\GLOBALB.LZC Collisions TOMST020
else
end

if collection_exists GLOBAL\GLOBALB.LZC Materials YTMTOMSORANGE
do
remove_collection GLOBAL\GLOBALB.LZC Materials YTMTOMSORANGE
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos RX7 TOMST020
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 ManufacturerName TOMS
copy_collection GLOBAL\GLOBALB.LZC Collisions RX7 TOMST020
import override GLOBAL\GLOBALB.LZC DBModelParts SW20Parts\TOMST020.bin

copy_collection GLOBAL\GLOBALB.LZC Materials METPAINTRED YTMTOMSORANGE
update_collection GLOBAL\GLOBALB.LZC Materials YTMTOMSORANGE SpecularMaxGreen 0.765
update_collection GLOBAL\GLOBALB.LZC Materials YTMTOMSORANGE SpecularMinGreen 0.765
update_collection GLOBAL\GLOBALB.LZC Materials YTMTOMSORANGE SpecularMaxLevel 0.1
update_collection GLOBAL\GLOBALB.LZC Materials YTMTOMSORANGE SpecularMinLevel 0.8

if directory_exists absolute CARS\TOMST020
do
else
create_folder absolute CARS\TOMST020
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\TOMST020\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\TOMST020\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\TOMST020\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\TOMST020\VINYLS.BIN

end

combobox "Super White IV" "Silver (Custom)" "Beige Mica Metallic" "Black" "Super Red II" "Red Metallic (Custom)" "Dark Purple Mica" "Blue (Custom)" "Midnight Blue (Custom)" "Purplish Blue Mica Metallic" "Dark Green Mica" "Super Bright Yellow" "Orange Mica Metallic" "Choose your stock color."

"Super White IV"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_WHITE

"Silver (Custom)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_SILVER

"Beige Mica Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_BEIGE

"Black"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_BLACK

"Super Red II"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_RED

"Red Metallic (Custom)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_RED2

"Dark Purple Mica"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_PURPLE

"Blue (Custom)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_BLUE

"Midnight Blue (Custom)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_BLUE2

"Purplish Blue Mica Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_BLUE3

"Dark Green Mica"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_GREEN

"Super Bright Yellow"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_YELLOW

"Orange Mica Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TOMST020 DefaultBasePaint TOMST020_PAINT_ORANGE

end
